package com.yc.entities.custom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author kukaha
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CustomRoleQueryBean对象", description="角色管理查询请求Bean")
public class CustomRoleQueryRequestBean implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "院长id")
    @NotNull(message = "院长di不能为空")
    private Integer deanId;
    @ApiModelProperty(value = "用户账号")
    private String account;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "用户账号是否禁用 0:启用  1:禁用")
    private String isDisable;
    @ApiModelProperty(value = "科室id")
    private String departmentId;
    @ApiModelProperty(value = "当前页码")
    private Integer current = 0;
    @ApiModelProperty(value = "一页显示多少条")
    private Integer size = 10;
    
}
